import request from '@/utils/request'

const api_name = '/admin/qrcode'

export default {
  downloadQrcode() {
    return request({
      url: `${api_name}/getQrcode`,
      method: 'get',
      // responseType: 'blob'
    })
  },
  scanQrcode(id) {
    return request({
      url: '/mini/customer/scanQrcode/' + id,
      method: 'get',
      // responseType: 'blob'
    })
  }
}
